from relex.generators.text import TextGenerator
		
class TGLexPartText(TextGenerator):
	def generate(self):
		for part in self.qresult:
		yield '%s %s %s %s %s\n' %(part.id, part.part_id, part.language, part.body, part.stamp)
